﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
//using System.Web.DynamicData;
using OA.Model;
using OA.Model.MyAttribute;
using OA.Core;
using System;

namespace OA.Model
{
    /// <summary>
    /// 用户文件关联表
    /// </summary>
    [Table("EmployeeFile")]
    public class EmployeeFile : BaseInfo
    {
        public int Status { get; set; }

        [ForeignKey("MyFile")]
        public int MyFileID { get; set; }

        [MaxLength(10)]
        public string EmpID { get; set; }

        /// <summary>
        /// 最后填写时间
        /// </summary>
        public DateTime? ReadDate { get; set; }

        public virtual MyFile MyFile { get; set; }

    }
}
